package 抽象类和接口的区别;

public class Demo extends alarmdoorDemo{
    public static void main(String[] args) {
     Demo d=new Demo();
        d.close();
        d.alarm();
        d.open();
    }
}
